export interface ModelApp {
  tenantId: number | undefined;
  appId: number | undefined;
}

export interface ModelId {
  tenantId?: number | undefined;
  [key: string]: any;
}

interface objModel {
  apiKey?: string;
  allowedIps?: Array<any>;
}
export interface ModelapiKey {
  tenantId: number | undefined;
  params: objModel;
  [keys: string]: any;
}

export interface ModelBatch {
  categoryId: number | undefined;
  tenantIds: Array<string>;
}

export interface ModelCategory {
  id?: number | undefined;
  name?: string;
}

export interface ModelList {
  pageNo: number;
  pageSize: number;
  categoryId?: number | string | undefined;
  tenantName?: string;
  phone?: string;
  userName?: string;
  realName?: string;
  sorting?: string | undefined;
  hasMiniApp?: boolean;
}

export interface ModelInfo {
  id?: string | undefined;
  name: string;
  realName: string;
  userName: string;
  email: string;
  phone: string;
  description: string;
  code?: string;
}

export interface ModelStatus {
  id: string;
  enabled: boolean;
}

export interface ModelVipPrice {
  tenantId: string;
  vipPriceTierItems: Array<Record<string, any>>;
  // days: number | undefined;
  // minLimit: number | undefined;
}
